/**
 * @program: pettyloan
 * @ClassName RepayService
 * @description:
 * @author: 汪江
 * @create: 2022-12-06 15:35
 **/
package com.wn.pettyloan.service;


import com.wn.pettyloan.dto.RepayDto;
import com.wn.pettyloan.entity.Repay;
import com.wn.pettyloan.vo.RepayVo;

import java.util.List;

public interface RepayService {

    boolean addRepay(Integer contractId);

    Repay selRepayAlready(Integer repayRecordId);

    RepayVo selTopInfo(RepayDto repayDto);

    List<RepayVo> selAllRepay(RepayDto repayDto);

    int deleteByPrimaryKey(Long id);

    int insert(Repay record);

    int insertSelective(Repay record);

    Repay selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Repay record);

    int updateByPrimaryKey(Repay record);
}
